<h3>{{!Fill-in or check following fields:}}</h3>
<form action="{{configCart.action}}" method="POST" name="proffrm" onsubmit="ajaj_form(document.forms.proffrm);return false;">
	<input type="hidden" name="mode" value="profile_upd"/>
	<input type="hidden" name="ajaj" value="1"/>
	<table class="cart-profile-upd">
		<tr class="login">
			<td>{{!Email}}</td>
			<td>{{T:user.login}}</td>
		</tr>
		<tr class="first_name">
			<td class="first_td">{{!First name}}</td>
			<td><input type="text" name="first_name" value="{{I:user.first_name}}"/><div class="err"></div></td>
		</tr>
		<tr class="last_name">
			<td class="first_td">{{!Last name}}</td>
			<td><input type="text" name="last_name" value="{{I:user.last_name}}"/><div class="err"></div></td>
		</tr>
		<tr class="phone">
			<td class="first_td">{{!Phone}}</td>
			<td><input type="text" name="phone" value="{{I:cart.address_phone}}"/><div class="err"></div></td>
		</tr>
		<tr class="address_city">
			<td class="first_td">{{!City}}</td>
			<td><input type="text" name="address_city" value="{{I:cart.address_city}}"/><div class="err"></div></td>
		</tr>
		<tr class="address_street">
			<td class="first_td">{{!Address}}</td>
			<td><input type="text" name="address_street" value="{{I:cart.address_street}}"/><div class="err"></div></td>
		</tr>
		<tr class="address_comments">
			<td class="first_td">{{!Comments}}</td>
			<td><input type="text" name="address_comments" value="{{I:cart.address_comments}}"/><div class="err"></div></td>
		</tr>
		<tr class="payment_method">
			<td>{{!Payment method}}</td>
			<td>
				{{foreach pm in payment_methods}}
					<span><input type="radio" name="payment_method_id" value="{{pm.id}}"{{if pm.id==cart.payment_method_id}} checked="checked"{{/if}}><span>{{pm.name}}</span></span>
				{{/foreach}}
				<div class="cl"></div>
				<div class="err"></div>
			</td>
		</tr>
		<tr class="submit">
			<td></td>
			<td>
				<input type="submit" value="{{!Update info}}" onclick="document.forms.proffrm.mode.value='profile_upd';ajaj_form(document.forms.proffrm);return false;"/>
				<input type="submit" value="{{!Proceed to checkout}}" onclick="document.forms.proffrm.mode.value='checkout';ajaj_form(document.forms.proffrm);return false;"/>
			</td>
		</tr>
	</table>
</form>
